import axios from 'axios'


export const findLogPage = (current, size, logVo) => {
  return axios({
    url: '/api/log/findLogPage',
    method: 'post',
    /*localhost:8080/user?id=  方式传值*/
    params: {
      current,
      size
    },
    /*json数据传值*/
    data: logVo
  })
}



/*根据id删除文件*/
export const deleteLogById = (id) => {
  return axios({
    url: '/api/log/deleteLogById',
    method: 'post',
    params: {
      id
    },
  })
}

/*根据id批量删除文件*/
export const deleteLogsByIds = (ids) => {
  return axios({
    url: '/api/log/deleteLogsByIds',
    method: 'post',
    params: {
      ids
    },
  })
}
